Repository navigation
refactor(agystack): remove swarm skill and Cloud Run runtime - #20
semantic-craft wants to merge 2 commits into
Conversation
Google Antigravity now ships a built-in swarm plugin and skill (name: swarm) with native board coordination tools. Removing agystack's skills/swarm/ eliminates the global-over-builtin shadowing collision along with the redundant Cloud Run swarm scripts, GCP provisioning code, and cloud-only test suite. Keep local runtime doctor checks in setup_runtime.py, add a legacy skills/swarm collision check, prioritize workspace and plugin-root agystack-models.md ahead of global config, and drop orphaned GCP/Cloud Run hook and lockfile dependencies.
Replace references to the removed skills/swarm/ skill and Cloud Run swarm workflows across plugin metadata, skills, playbooks, and guides with Antigravity's built-in swarm tool and local invoke_subagent fan-outs.
|
Thank you @semantic-craft for reporting this collision and opening the pull request. The shadowing of Antigravity's built-in We incorporated your collision check pattern into |
Why
Google Antigravity now ships a built-in
swarmplugin and skill (native_swarm, declared asname: swarm) backed by native platform tools (swarm,post_message,read_board,swarm_wait, shared message board, channels, narrator, monitor, and workspace isolation).Because Antigravity discovers global plugins in
~/.gemini/config/plugins/with higher precedence than built-in customizations,agystack'sskills/swarm/SKILL.md(name: swarm) shadows Google's built-in/swarmskill. Removingagystack'sswarmskill and Cloud Run swarm stack eliminates the shadowing collision and drops redundant orchestration code and mandatory GCP runtime dependencies.Scope
skills/swarm/(SKILL.md,Dockerfile,requirements.txt,cloud_dispatch.py,cloud_worker.py,manifest_generator.py,result_harvester.py,simulate_cloud_swarm.py,steer_cloud_task.py,storage_messenger.py,storage_uploader.py,swarm_dashboard.py,transcript_projector.py,dispatch/, andworker/),agystack-runtime.json.example, and the 13 cloud swarm test modules (tests/test_architecture_remediation.py,test_cloud_preflight_and_worker.py,test_cloud_worker_vertex_partner.py,test_container_spec.py,test_conversational_steering_tool.py,test_live_cloud_bidirectional.py,test_shadow_transcript_projection.py,test_simulation_scenario.py,test_storage_messenger.py,test_storage_uploader.py,test_swarm_dashboard_generation.py,test_swarm_generic.py, andtest_worker_execution_lifecycle.py).skills/setup-agystack/scripts/setup_runtime.pyto local--doctorchecks (bun,gh,gt,check_hook_contract,check_artifact_dir,parse_model_config,check_skill_collisions,check_platform,run_doctor), reorderparse_model_config()to prefer workspace-local and owning plugin root ahead of global~/.gemini, and addcheck_skill_collisions()so upgraded zip installs flag any leftoverskills/swarmdirectory.google-cloud-storage,google-cloud-run,google-genai, and the orphanedagent(google-antigravity) extra frompyproject.toml, and regenerateuv.lockto lock only[project.optional-dependencies] test(10 packages).swarm workersfromagystack-models.md, removeagystack-runtime.json.examplefromscripts/package-plugin.sh, keep**/*agystack-runtime.jsonin.gitignoreto protect upgraded installs, and drop residualCLOUD_RUN_TASK_INDEXchecks fromskills/poteto-mode/scripts/hooks/pre_tool_delegation.py,pre_tool_safety.py, andtests/test_hooks.py.rules/AGENTS.md,plugin.json,README.md,docs/marketplace-listing.md,docs/marketplace-submission.json,docs/guide/*,skills/agystack/SKILL.md,skills/setup-agystack/SKILL.md,skills/maintain-verification-skill/SKILL.md,skills/poteto-mode/SKILL.md,skills/poteto-mode/references/antigravity-tools.md,skills/poteto-mode/playbooks/{autopilot-full,autopilot-stack,multi-phase-plan}.md, andskills/poteto-mode/scripts/check-plan.mjsfromskills/swarm/to Antigravity's built-inswarmtool and localinvoke_subagentfan-outs.tests/test_reactive_coordination_rules.py, isolate$HOMEintests/test_setup_runtime.py, and addtest_no_swarm_skill_collision()intests/test_skill_catalog.py.Tradeoffs
**/*agystack-runtime.jsonremains in.gitignoreeven thoughagystack-runtime.json.exampleis deleted. Existing git-clone or workspace-local installations that previously generatedagystack-runtime.jsonwill not accidentally stage stale GCP configuration after pulling this change.N > 8remote Cloud Run job orchestration fromagystack. Users who need local parallel fan-out use Antigravity's built-inswarmskill andinvoke_subagentdirectly with zero extra dependencies.Blast Radius
skills/swarm/,skills/setup-agystack/,skills/poteto-mode/,rules/AGENTS.md, packaging, docs, and tests.git pulldropskills/swarm/automatically and regain access to Antigravity's built-in/swarmskill on the next session. Existing installations updated by extracting a release zip over an old directory are alerted bysetup_runtime.py --doctor(skill_collisions) to remove the staleskills/swarmdirectory.poteto-mode,interrogate,arena,architect,loop,deslop,unslop,no-comments,watch-pr, and all 24 principles), both custom agents (poteto-agent,comment-sicko), and all hook contracts remain intact.Verification
a89a7a5and67b8bc1) independently in an isolated git worktree on macOS with Python 3.13 and Bun 1.4.4.uv lock --checkpassed (Resolved 10 packages).ruff check .passed with zero warnings.pytest -q --timeout=60 tests/passed all 83 tests and 130 subtests (test_plugin_manifest.py,test_skill_catalog.py,test_agent_definitions.py,test_reactive_coordination_rules.py,test_setup_runtime.py, andtest_hooks.py).python3 -m unittest discover -s testspassed all 75 stdlib tests.python3 skills/setup-agystack/scripts/setup_runtime.py --doctorexited 0 with"status": "OK",skill_collisions.collision: false, andmodel_config.pathresolving to the worktreeagystack-models.md(21 roles, noswarm workers).bun testinskills/poteto-mode/scriptspassed 47/47 tests across 4 files, andbun run typecheck(tsc --project watch-pr/tsconfig.json --noEmit --strict) exited 0.